package main
import "fmt"

func main(){
  array := [3]float64{7.0, 8.5, 9.1}
  x:= Sum(&array)
  fmt.Printf("The sum of the array is: %f\n",x)
}

func Sum(a *[3]float64) (sum float64){
  for _, v := range a{
	sum += v
  }
  return
}
